const classifyRoutes = {
  path: 'classify',
  name: 'Classify',
  component: () => import('@/views/goods/index.vue'),
  meta: {
    title: '商品分类'
  },
  redirect: '/goods/classify/goods_classify',
  children: [
    {
      path: 'goods_classify',
      name: 'GoodsClassify',
      component: () => import('@/views/goods/goods-classify/goods-classify'),
      meta: { title: '商品分类', noCache: false }
    },
    {
      path: 'add_classify',
      name: 'AddClassify',
      hidden: true,
      component: () => import('@/views/goods/goods-classify/add-classify'),
      meta: { title: '新增分类', noCache: true }
    },
    {
      path: 'edit_classify',
      name: 'EditClassify',
      hidden: true,
      component: () => import('@/views/goods/goods-classify/add-classify'),
      meta: { title: '编辑分类', noCache: true }
    }
  ]
}

export default classifyRoutes
